<ul class="dropDown-menu menu radius box-shadow">
    <li><a href="javascript:;" onclick="article_add('添加资讯','article-add.html')"><i
                class="Hui-iconfont">&#xe616;</i> 资讯</a></li>
    <li><a href="javascript:;" onclick="picture_add('添加资讯','picture-add.html')"><i
                class="Hui-iconfont">&#xe613;</i> 图片</a></li>
    <li><a href="javascript:;" onclick="product_add('添加资讯','product-add.html')"><i
                class="Hui-iconfont">&#xe620;</i> 产品</a></li>
    <li><a href="javascript:;" onclick="member_add('添加用户','member-add.html','','510')"><i
                class="Hui-iconfont">&#xe60d;</i> 用户</a></li>
</ul>
   
   
   <div class="wrapper">
        <!-- Navbar -->
        <nav class="main-header navbar navbar-expand navbar-white navbar-light">
            <!-- Left navbar links -->
            <ul class="navbar-nav">
                <li class="nav-item">
                    <a class="nav-link" data-widget="pushmenu" href="#" role="button"><i class="fas fa-bars"></i></a>
                </li>
            </ul>

            <!-- Left navbar links -->
            <ul class="navbar-nav js_left_menu">
                <li class="nav-item active">
                    <a class="nav-link" href="javascript:;">
                        <i class="fas fa-cog"></i>
                        <span>主导航</span>
                    </a>
                </li>
                {//if count($cates)}
                <li class="nav-item">
                    <a class="nav-link" href="javascript:;">
                        <i class="fa fa-th-large"></i>
                        <span>内容管理</span>
                    </a>
                </li>
                {///if}
            </ul>

            <!-- Right navbar links -->
            <ul class="navbar-nav ml-auto">
                <!-- User Account Menu -->
                <li class="nav-item dropdown user user-menu">
                    <!-- Menu Toggle Button -->
                    <a href="#" class="nav-link dropdown-toggle" data-toggle="dropdown" aria-expanded="false">
                        <img src="{//:session('admin.image') ?: '/static/plugins/AdminLTE/dist/img/user2-160x160.jpg'}"
                            class="user-image">
                        <span class="d-none d-lg-block">{:session('admin.nickname') ?: session('admin.username')}</span>
                    </a>
                    <ul class="dropdown-menu">
                        <li class="user-header">
                            <img src="{//:session('admin.image') ?: '/static/plugins/AdminLTE/dist/img/user2-160x160.jpg'}"
                                class="img-circle">
                            <h5>上次登录时间：{:session('admin.login_time')}</h5>
                            <h5>上次登录IP：{:session('admin.login_ip')}</h5>
                        </li>
                        <li class="user-footer">
                            <div class="pull-left">
                                <a href="{//:url('Admin/edit',['id'=>session('admin.id')])}"
                                    class="btn btn-default btn-flat">资料</a>
                            </div>
                            <div class="pull-right">
                                <a href="{//:url('Login/logout')}" class="btn btn-default btn-flat">退出</a>
                            </div>
                        </li>
                    </ul>
                </li>
                <li class="nav-item">
                    <a class="nav-link" data-widget="fullscreen" href="#" role="button" title="全屏">
                        <i class="fas fa-expand-arrows-alt"></i>
                    </a>
                </li>
                <li class="nav-item">
                    <a class="nav-link" data-widget="control-sidebar" data-slide="true" href="#" role="button"
                        title="自定义">
                        <i class="fas fa-palette"></i>
                    </a>
                </li>
                <li class="nav-item">
                    <a class="nav-link js_clear_cash" href="javascript:;" title="清空缓存">
                        <i class="fas fa-sync-alt"></i>
                    </a>
                </li>
                <li class="nav-item">
                    <a class="nav-link" href="{//$indexUrl}" target="_blank" title="前台首页">
                        <i class="fas fa-home"></i>
                    </a>
                </li>
            </ul>
        </nav>